<?php
$this->breadcrumbs = array(
    'Refs',
);

$this->menu = array(
    array('label' => 'Create Ref', 'url' => array('create')),
    array('label' => 'Manage Ref', 'url' => array('admin')),
);
?>


<div id="wrapper">
    <table width="920" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td align="center">
                <!-- data-->
                <table width="940" border="0" cellspacing="0" cellpadding="0" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/refere.png) left top no-repeat;">
                    <tr>
                        <td colspan="2" style="height:100px;">&nbsp;</td>
                    </tr>
                    <tr>
                        <td width="905" align="center" ><table id="Table_01" width="900" height="255" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_01.png" width="31" height="33" alt="" /></td>
                                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_02.png) repeat-x;" height="33"></td>
                                    <td><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_03.png" width="33" height="33" alt="" /></td>
                                </tr>
                                <tr >
                                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_04.png) repeat-y;" width="31">&nbsp;</td>
                                    <td align="left" valign="top" style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_05.png) repeat left top;"><p>Reference<br />
                                        <br/>
                                        </p>


                                        <?php
                                        $this->modelLength = count($dataProvider->data);
                                        $this->widget('zii.widgets.CListView', array(
                                            'dataProvider' => $dataProvider,
                                            'itemView' => '_view',
                                        ));
                                        ?>


                                        <p>&nbsp; </p>
                                        <p>&nbsp;</p>
                                    </td>
                                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_06.png) repeat-y;"  width="31"></td>
                                </tr>
                                <tr>
                                    <td  width="31" height="33" ><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_07.png" width="31" height="33" alt="" /></td>
                                    <td style="background:url(<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_08.png) repeat-x;" height="33"></td>
                                    <td width="33" height="33"><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/tmp_09.png" width="33" height="33" alt="" /></td>
                                </tr>
                            </table></td>
                    </tr>
                </table>
                <!--end data-->
            </td>
        </tr>
    </table>
</div>